package com.share.exception;

import java.io.IOException;

public class ExceptionDemo {
	public static void main(String[] args) {

		ExceptionDemo testone = new ExceptionDemo();

		try {
			testone.method1();
		} catch (Exception ioe) {
			ioe.printStackTrace();
		}

	}

	public void method1() throws IOException {
		method2();
	}

	public void method2() throws IOException {
		method3();
	}

	public void method3() throws IOException {
		throw new IOException("1111111111111");
	}

}
